@import '~view-design/src/styles/index.less';

// Base
@font-size-base         : 12px;

// Background color
@table-td-hover-bg      : #f0f0f0;

// 重置部分样式

// 表格
.ivu-table-wrapper {
    border: @border-width-base @border-style-base @border-color-base;
    border-bottom: 0;
    border-right: 0;
}
.ivu-table:after {
    content: "";
    position: absolute;
    width: @border-width-base;
    height: 100%;
    top: 0;
    right: 0;
    background-color: @border-color-base;
    z-index: 3;
}
.ivu-table {
    &-cell {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.ivu-table-cell-expand {
    display: none;
}
td.ivu-table-expanded-cell {
    padding: 0;
}

.ivu-page-item-active {
    color: #fff;
    background-color: @primary-color;
}
.ivu-page-item-active:hover a, .ivu-page-item-active a {
    color: #fff;
}

// Tab选项卡
.ivu-tabs {
    overflow: initial;
}
.ivu-tabs-nav .ivu-tabs-tab {
    font-size: 14px;
}

// 表单
.ivu-form .ivu-form-item-label {
    font-size: 13px;
    color: #333;
}
.ivu-input-group-append .ivu-checkbox-wrapper {
    line-height: 22px;
    .ivu-checkbox {
        vertical-align: text-top;
    }
}

// tab
.ivu-tag {
    line-height: 20px;
}

.ivu-divider-horizontal {
    margin: 20px 0;
}

body {
    font-family: Microsoft YaHei;
    color: #333;
    background-color: #f5f5f5;
}